import request from '@/utils/request'

export default {

    /**
     *  会员登陆,返回 令牌 token
     * @param {*} member 会员信息
     */
    loginMember(member){
        return request({
            url :'/educenter/member/login',
            method :'post',
            data :member
        });
    },

    // 根据token值返回会员信息
    getMemberByToken(){
        return request({
            url :'/educenter/member/get/memberinfo',
            method :'get',
        });
    }

}